<?php


namespace Plugin\PaypalSiteA\Controllers;

use Beike\Admin\Http\Controllers\Controller;
use Beike\Repositories\SettingRepo;
use Illuminate\Http\Request;

class AdminPollingPaypalController extends Controller
{
    /**
     * @throws \Throwable
     */
    public function saveSetting(Request $request)
    {
        SettingRepo::storeValue('setting', $request->all(), 'paypal_site_a', 'plugin');

        return json_success('保存成功');
    }
}
